var e = getApp();

Component({
    properties: {
        is_cancel: {
            value: !0,
            type: Boolean
        },
        item: {
            value: {},
            type: Object
        },
        index: {
            value: 0,
            type: Number
        }
    },
    data: {},
    methods: {
        sendAttention: function() {
            var t = this, n = {}, i = e.getNetAddresss("plugin.new-media-advertising.frontend.media-advertisingt.cancel-attention");
            n.advertisingt_member = this.data.item.member_id, e._getNetWork({
                url: i,
                data: n,
                success: function(n) {
                    var i = n.data;
                    if (1 != i.result) return e.tips(i.msg);
                    t.triggerEvent("cancelAttention", t.data.index);
                }
            });
        }
    }
});